{
	template:`
	<a-page-header :title="'你好！'+admin.realname" :sub-title="'/'+org.name+'/'+dept.name"  >
		<template #extra>
		    <div style="line-height:32px;">{{date}}</div>
		</template>
	</a-page-header>
    <a-row :gutter="16" style="padding:0 15px 15px;">
        <a-col :span="6">
            <a-card :hoverable="true" bodyStyle="padding:15px;" class="bg-red">
                <div>
                    <m-icon name="icon-templatedefault" size="32" style="vertical-align: top;margin-right: 15px;margin-bottom: -15px;margin-top: -5px;"></m-icon>
                    我当日 <span class="text-xl">{{formatNumber(dataMap.adminDayNum,'#,##0')}}</span>个订单
                </div>
                <div class="text-right text-xxl">
                    {{formatNumber(dataMap.adminDayAmount,'#,##0.00')}}
                    <span class="text-right text-df">元</span>
                </div>
            </a-card>
        </a-col>
        <a-col :span="6">
            <a-card :hoverable="true" bodyStyle="padding:15px;" class="bg-orange">
                <div>
                    <m-icon name="icon-icon-167" size="32" style="vertical-align: top;margin-right: 15px;margin-bottom: -15px;margin-top: -5px;"></m-icon>
                    我当月 <span class="text-xl">{{formatNumber(dataMap.adminMonthNum,'#,##0')}}</span>个订单
                </div>
                <div class="text-right text-xxl">
                    {{formatNumber(dataMap.adminMonthAmount,'#,##0.00')}}
                    <span class="text-right text-df">元</span>
                </div>
            </a-card>
        </a-col>
        <a-col :span="6">
            <a-card :hoverable="true" bodyStyle="padding:15px;" class="bg-blue">
                <div>
                    <m-icon name="icon-templatedefault" size="32" style="vertical-align: top;margin-right: 15px;margin-bottom: -15px;margin-top: -5px;"></m-icon>
                    店铺当日 <span class="text-xl">{{formatNumber(dataMap.deptDayNum,'#,##0')}}</span>个订单
                </div>
                <div class="text-right text-xxl">
                    {{formatNumber(dataMap.deptDayAmount,'#,##0.00')}}
                    <span class="text-right text-df">单</span>
                </div>
            </a-card>
        </a-col>
        <a-col :span="6">
            <a-card :hoverable="true" bodyStyle="padding:15px;" class="bg-green">
                <div>
                    <m-icon name="icon-icon-167" size="32" style="vertical-align: top;margin-right: 15px;margin-bottom: -15px;margin-top: -5px;"></m-icon>
                    店铺当月 <span class="text-xl">{{formatNumber(dataMap.deptMonthNum,'#,##0')}}</span>个订单
                </div>
                <div class="text-right text-xxl">
                    {{formatNumber(dataMap.deptMonthAmount,'#,##0.00')}}
                    <span class="text-right text-df">元</span>
                </div>
            </a-card>
        </a-col>
        <a-col :span="24" style="padding-top:15px;">
            <a-card :hoverable="true" bodyStyle="padding:0;">
                <div id="index_orderCollect" style="margin-bottom:-15px;"></div>
            </a-card>
        </a-col>
    </a-row>
    <a-row>
        <a-col :span="9">
            <div id="index_levelUpSetList" style="margin-right:-15px;"></div>
        </a-col>
        <a-col :span="15">
            <div id="index_serveGoodsList"></div>
        </a-col>
    </a-row>
	`,
	props: ['localeZh','param','parentVue'],
	data:function(){
		return {
		    admin:{},
		    dept:{},
		    org:{},
		    date:'',
		    dataMap:{},
		};
	},
	mounted(){
	    this.loadData();
		this.loadPage("index_orderCollect",
			"action/member/manage/index/orderCollectTab",
			{},
			function(pv,v3){

	        }.bind(this)
        );
        this.loadPage("index_levelUpSetList",
            "action/member/manage/index/levelUpSetList",
            {params:{}},
            function(pv,v3){

            }.bind(this)
        );
        this.loadPage("index_serveGoodsList",
            "action/member/manage/index/serveGoodsList",
            {params:{}},
            function(pv,v3){

            }.bind(this)
        );
	},
	methods:{
		loadData:function(){
			this.requestData('action/member/manage/index/getIndexMap',
				{model:this.model},
				data=>{
					if(!data.code){
					    this.admin=data.admin;
					    this.dept=data.dept;
					    this.org=data.org;
					    this.date=data.date;
						this.dataMap=data.dataMap;
					}else{
						this.$message.error(data.msg);
					}
				}
			);
		},
	}
}